package ioperations;

import book.BookList;

public class ShowOperation implements IOPeration{
    public void work(BookList bookList){
        System.out.println("显示图书...");
        int currentSize= bookList.getUsedSize();
        for (int i = 0; i <currentSize; i++) {
            System.out.println(bookList.getBooks(i));
        }
    }
}
